-
Home
-
Directorist: AI-Powered Business Directory Plugin with Classified Ads Listings
-
8.5.1 (latest)
-
Code
-
Classes
- Orders_Controller
| Total Complexity |
66 |
| Dependencies |
4 |
| Dependents |
1 |
| Total lines |
647 |
| Lines of code |
453 |
| Logical lines of code |
207 |
| Comment lines |
107 |
| Methods |
17 |
| Properties |
2 |
Methods 17
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| create_item() |
B |
34 |
20 |
84 |
| get_order_data() |
B |
40 |
19 |
60 |
| get_item_schema() |
A |
35 |
2 |
109 |
| get_items() |
S |
48 |
5 |
32 |
| get_item() |
S |
58 |
4 |
13 |
| register_routes() |
S |
46 |
1 |
46 |
| get_orders() |
S |
57 |
2 |
16 |
| get_collection_params() |
S |
52 |
1 |
26 |
| prepare_item_for_response() |
S |
62 |
2 |
10 |
| get_remaining_listings_count() |
S |
63 |
2 |
10 |
| get_remaining_featured_listings_count() |
S |
63 |
2 |
10 |
| prepare_objects_query() |
S |
62 |
1 |
11 |
| prepare_links() |
S |
63 |
1 |
11 |
| get_items_permissions_check() |
S |
81 |
1 |
3 |
| add_post_meta_fields() |
S |
82 |
1 |
3 |
| get_orderby_possibles() |
S |
72 |
1 |
6 |
| get_plan_id() |
S |
78 |
1 |
3 |